package team.cdlzz.model.pojo;

public class CourseDetail {
    private Integer cid;

    private String cName;

    @Override
    public String toString() {
        return "CourseDetail{" +
                "cid=" + cid +
                ", cName='" + cName + '\'' +
                ", cImg='" + cImg + '\'' +
                ", cStarttime='" + cStarttime + '\'' +
                ", cEndtime='" + cEndtime + '\'' +
                ", cHours='" + cHours + '\'' +
                ", cDetail='" + cDetail + '\'' +
                ", cIntro='" + cIntro + '\'' +
                ", tid=" + tid +
                ", tName='" + tName + '\'' +
                ", tImg='" + tImg + '\'' +
                ", tIdentity='" + tIdentity + '\'' +
                ", tDetail='" + tDetail + '\'' +
                ", count=" + count +
                ", tOrganization='" + tOrganization + '\'' +
                '}';
    }

    private String cImg;

    private String cStarttime;

    private String cEndtime;

    private String cHours;

    private String cDetail;

    private String cIntro;

    private Integer tid;

    private String tName;

    private String tImg;

    private String tIdentity;

    private String tDetail;

    private Integer count;

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    private String tOrganization;

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getcImg() {
        return cImg;
    }

    public void setcImg(String cImg) {
        this.cImg = cImg;
    }

    public String getcStarttime() {
        return cStarttime;
    }

    public void setcStarttime(String cStarttime) {
        this.cStarttime = cStarttime;
    }

    public String getcEndtime() {
        return cEndtime;
    }

    public void setcEndtime(String cEndtime) {
        this.cEndtime = cEndtime;
    }

    public String getcHours() {
        return cHours;
    }

    public void setcHours(String cHours) {
        this.cHours = cHours;
    }

    public String getcDetail() {
        return cDetail;
    }

    public void setcDetail(String cDetail) {
        this.cDetail = cDetail;
    }

    public String getcIntro() {
        return cIntro;
    }

    public void setcIntro(String cIntro) {
        this.cIntro = cIntro;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public String gettImg() {
        return tImg;
    }

    public void settImg(String tImg) {
        this.tImg = tImg;
    }

    public String gettIdentity() {
        return tIdentity;
    }

    public void settIdentity(String tIdentity) {
        this.tIdentity = tIdentity;
    }

    public String gettDetail() {
        return tDetail;
    }

    public void settDetail(String tDetail) {
        this.tDetail = tDetail;
    }

    public String gettOrganization() {
        return tOrganization;
    }

    public void settOrganization(String tOrganization) {
        this.tOrganization = tOrganization;
    }

    public Course CourseDetailGetCourse(CourseDetail courseDetail){
        return null;
    }

    public void setCourse(Course course) {
        setcImg(course.getImg());
        setTid(course.getUid());
        setcName(course.getCname());
        setcIntro(course.getInfo());
        setCid(course.getCid());
    }
}